-- gui_label.lua

gui_label = class('gui_label', gui_element)

function gui_label:initialize()
	self.pos = {x = 0, y = 0}
	self.size = {w = 0, h = 0}
	self.string = ""
	self.panel_x = 0
	self.panel_y = 0
	self.font = nil
	self.name = "Label"
	self.colour = {r = 0, g = 0, b = 0}
end

function gui_label:draw()
	love.graphics.setColor(self.colour.r, self.colour.g, self.colour.b) 
	love.graphics.print(self.string, self.pos.x + self.panel_x, self.pos.y + self.panel_y)
end

function gui_label:update(dt)
end

function gui_label:set_string(toString)
	self.string = toString
end